package org.apogee.mil.client.portal.pages;

import com.extjs.gxt.ui.client.widget.ContentPanel;
import com.extjs.gxt.ui.client.widget.LayoutContainer;
import com.google.gwt.user.client.Element;

public class DownloadForm extends LayoutContainer {
	@Override  
	protected void onRender(Element parent, int index) {  
		super.onRender(parent, index);  
		createForm();  
	}

	private void createForm() {	  
		ContentPanel nav = new ContentPanel();  
		nav.setHeading("Download");  
		nav.setBorders(true);  
		nav.setBodyStyle("fontSize: 12px; padding: 6px");  
		nav.addText("<p>Click on the link below to download the stand-alone testing program.</p>"
				+"<p><a href=\"https://dl.dropbox.com/u/6307592/AirforceCDCPracticeTest.jar\">Airforce CDC Practice Test</a></p>");
		nav.setAutoHeight(true);
		add(nav);
	}

}
